package com.codeyourlife.service;

import java.util.List;

import com.codeyourlife.entity.Course;
import com.codeyourlife.entity.UserFavCourse;
import com.codeyourlife.entity.UserLearning;

public interface UserRelatedCourseService {
	public void addUpCourse(Course course);
	public List<Course> getExistUpCourse(int user_id);

	public void addUserFavCourse(UserFavCourse userFav);
	public void deleUserFavCourse(UserFavCourse userFav);
	public List<Course> getUserFavCourse(int user_id);
	
	public void addUserLearning(UserLearning userLearning);
	public void updateUserLearning(UserLearning userLearning);
	public void deleteUserLearning(UserLearning userLearning);
	public List<Course> getUserLearning(int user_id);
	
	public void addUserHistory(int user_id, UserLearning userLearning);
	public List<Course> getUserHistory(int user_id);
}
